package cn.wenhaha.common.bean;

import cn.hutool.core.util.StrUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class VodList implements Serializable {
    private String name;
    private String note;
    private String content;

    public String getName() {
        if (StrUtil.equals(name,"$$$")) return "";
        return name;
    }

    public String getNote() {
        if (StrUtil.equals(note,"$$$")) return "";
        return note;
    }

    public String getContent() {
        if (StrUtil.equals(content,"$$$")) return "";
        return content;
    }
}
